package com.admin.entity;

import com.admin.sys.base.module.extend.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.util.List;

/**
*【费用信息】实体对象
*/

@TableName("fee")
public class Fee extends BaseEntity {
    /*** 主键id */
    private String id;
    /*** 费用编号 */
    private String feeCode;
    /*** 用户姓名 */
    private String registerId;
    /*** 费用类型 */
    private Integer feeType;
    /*** 费用类型 范围查询*/
    @TableField(exist = false)
    private Integer[] feeTypeRange;
    /*** 费用金额 */
    private String amount;
    /*** 费用日期 */
    private Date feeDate;
    /*** 费用日期 范围查询*/
    @TableField(exist = false)
    private List<String> feeDateRange;
    /*** 费用状态 */
    private Integer feeStatus;
    /*** 费用状态 范围查询*/
    @TableField(exist = false)
    private Integer[] feeStatusRange;
    public String getId() {
        return this.id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getFeeCode() {
        return this.feeCode;
    }
    public void setFeeCode(String feeCode) {
        this.feeCode = feeCode;
    }
    public String getRegisterId() {
        return this.registerId;
    }
    public void setRegisterId(String registerId) {
        this.registerId = registerId;
    }
    public Integer getFeeType() {
        return this.feeType;
    }
    public void setFeeType(Integer feeType) {
        this.feeType = feeType;
    }
    public Integer[] getFeeTypeRange(){
        return this.feeTypeRange;
    }
    public void setFeeTypeRange(Integer[] feeTypeRange){
        this.feeTypeRange = feeTypeRange;
    }
    public String getAmount() {
        return this.amount;
    }
    public void setAmount(String amount) {
        this.amount = amount;
    }
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    public Date getFeeDate() {
        return this.feeDate;
    }
    public void setFeeDate(Date feeDate) {
        this.feeDate = feeDate;
    }
    public List<String> getFeeDateRange(){
        return this.feeDateRange;
    }
    public void setFeeDateRange(List<String> feeDateRange){
        this.feeDateRange = feeDateRange;
    }
    public Integer getFeeStatus() {
        return this.feeStatus;
    }
    public void setFeeStatus(Integer feeStatus) {
        this.feeStatus = feeStatus;
    }
    public Integer[] getFeeStatusRange(){
        return this.feeStatusRange;
    }
    public void setFeeStatusRange(Integer[] feeStatusRange){
        this.feeStatusRange = feeStatusRange;
    }
}